<meta charset="UTF-8">
<div id="tt" class="easyui-tabs">   
    <div title="项目列表" id="projectDiv" style="padding:10px;width: 100%;height: 100%">   
		      <table
			     class="easyui-datagrid"   
			     id="datagrid1"  
		         url="${base}/userStatistic/getCollectProject?id=${id}"
		         pagination="true"
		         rownumbers="true" 
		         data-options="onClickCell:onClickCell,onEndEdit:onEndEdit,pageSize:20,pageList:[2,10,20,30]" >  
		    <thead>  
		        <tr> 
		            <th data-options="field:'id',align:'center'" width="8%">id</th>  
		            <th data-options="field:'title',align:'center'" width="10%">标题</th>
		            <th data-options="field:'total',align:'center'" width="10%">金额</th>
		            <th data-options="field:'province',align:'center'" width="10%">区域</th>
		        </tr>
		    </thead>
		</table>    
    </div>   
    <div title="资金列表"  id="fundDiv" style="padding:10px;width: 100%;height: 100%">   
		        <table
			     class="easyui-datagrid"   
			     id="datagrid2"  
		         url="${base}/userStatistic/getCollectFund?id=${id}"
		         pagination="true"
		         rownumbers="true" 
		         data-options="onClickCell:onClickCell,onEndEdit:onEndEdit,pageSize:20,pageList:[2,10,20,30]" >  
		    <thead>  
		        <tr> 
	                <th data-options="field:'id',align:'center'" width="8%">id</th>  
		            <th data-options="field:'title',align:'center'" width="10%">标题</th>
		            <th data-options="field:'total',align:'center'" width="10%">金额</th>
		            <th data-options="field:'province',align:'center'" width="10%">区域</th>
		        </tr>
		    </thead>
		</table>    
    </div>   
 
</div> 

<script type="text/javascript">


/*$('#tt').tabs({
    border:false,
    onSelect:function(title,index){
        alert(title+' is selected  '+index);
         if(index==0){
        	$('#projectDiv').show();
        	$('#fundDiv').hide();
        	$('#intentionDiv').hide();
        };
        if(index==1){
        	$('#fundDiv').show();
        	$('#projectDiv').hide();
        	$('#intentionDiv').hide();
        };
        if(index==2){
        	$('#intentionDiv').show();
        	$('#fundDiv').hide();
        	$('#projectDiv').hide();
        }; 

    }
}); */

</script>





